home *** CD-ROM | disk | FTP | other *** search
- #include <conio.h>
- #include <dos.h>
- #include "vectors.h"
-
-
-
- //FILE *file;
-
- int mx, my;
- int count = 0;
- /*
- void commit (WORD h)
- {
- _BX = h;
- _AX = 0x6800;
- geninterrupt (0x21);
- }
- */
-
- void tsr (int v)
- {
- my = wherey ();
- mx = wherex ();
- textattr ((BLUE<<4) + YELLOW);
- gotoxy (60,1);
-
- cprintf ("%02X -- %d", v, count++);
- // fprintf (file, "%02X -- %04d\n", v, count);
- // commit (file->fd);
- // fflush (file);
-
- gotoxy (mx,my);
-
- }
-
-